home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmStringHeight.z / XmStringHeight
Encoding:
Text File  |  2003-11-18  |  1.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmSSSSttttrrrriiiinnnnggggHHHHeeeeiiiigggghhhhtttt((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV        XXXXmmmmSSSSttttrrrriiiinnnnggggHHHHeeeeiiiigggghhhhtttt((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_S_t_r_i_n_g_H_e_i_g_h_t - A compound string function that returns the
  10.       line height of the given compound string
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/Xm.h>
  14.  
  15.       Dimension XmStringHeight (ffffoooonnnnttttlllliiiisssstttt,,,, ssssttttrrrriiiinnnngggg)
  16.            _X_m_F_o_n_t_L_i_s_tffffoooonnnnttttlllliiiisssstttt;
  17.            _X_m_S_t_r_i_n_g     ssssttttrrrriiiinnnngggg;
  18.  
  19.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.       _X_m_S_t_r_i_n_g_H_e_i_g_h_t returns the height, in    pixels,    of the sum of
  21.       all the line heights of the given compound string.
  22.       Separator components delimit lines.
  23.  
  24.       ffffoooonnnnttttlllliiiisssstttt
  25.            Specifies the font list
  26.  
  27.       ssssttttrrrriiiinnnngggg
  28.            Specifies the string
  29.  
  30.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  31.       Returns the height of    the specified string.
  32.  
  33.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  34.       _X_m_S_t_r_i_n_g_C_r_e_a_t_e(_3_X).
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.